package com.yan.system.service;


import com.yan.system.bean.User;
import com.yan.system.bean.UserOnline;
import org.apache.shiro.session.Session;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

public interface SessionService {

    List<UserOnline> list();

    List<User> listOnlineUser();

    Collection<Session> sessionList();

    boolean forceLogout(String sessionId);
}
